package main

import (
    pfc "github.com/niean/goperfcounter"
    "time"
)

func foo() {
    for _ = range time.Tick(time.Second * time.Duration(10)) {
        pfc.Meter("bar.called.error", int64(1))
    }
}

func main(){

    go  foo()
    select {} 
}
